package com.wd.jetpack.demo.paging.api;


import com.wd.jetpack.demo.paging.model.Movies;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * NA<BR>
 *
 * @author W4255
 * @version [V0.0.1, 2021/6/29]
 * @Description: NA
 */
public interface MovieApi {

    /**
     * 获取数据
     *
     * @param page
     * @param count
     * @return
     */
    @POST("getSongPoetry")
    @FormUrlEncoded
    Observable<Movies> getMoviesData(@Field("page") int page, @Field("count") int count);
}
